package com.zt.english.activity.word

import com.zt.english.R
import com.zt.english.activity.word.WordInfoActivity
import com.zt.english.activity.word.WordInfoRepository
import com.zt.english.databinding.ActivityWordInfoBinding
import com.zt.mvvm.viewmodel.BaseViewModel

class WordInfoViewModel :BaseViewModel<WordInfoRepository,ActivityWordInfoBinding>() {
    private val mActivity by lazy {
        mLifecycleOwner as WordInfoActivity
    }

    override fun initView() {
        mBinding.include.title = "单词释义"
        mBinding.include.background = mActivity.resources.getColor(R.color.color_app_theme)
    }

    override fun initData() {

    }
}